package decoration;

/**
 * @Author: linKe
 * @Date: 2022/1/15 9:53
 * @FileName: Beverage
 * @version: 1.0
 * @Description: 饮料抽象类
 */
public abstract  class Beverage {
    protected String description;

    /**
     * 返回价格
     */
    public abstract double cost();

    public String getDescription() {
        return description;
    }

}
